import React from "react";
import { Nav } from "@/components";

import useStatusBar from "../../../uses/useStatusBar";

const NavDemo: React.FC = () => {
  const [statusBarHeight, navHeight] = useStatusBar();
  console.log(statusBarHeight, navHeight);
  return <Nav title="首页" cbNavHeight={height => console.log(height)} />;
};

export default NavDemo;
